package Text_54;

public class Code {

	public static void main(String[] args) {
		
		    	int[] encode = {1,2,3};
		    	int f = 1;
		        int n = encode.length;
		        int[] arr = new int[n + 1];
		        arr[0] = f;
		        for (int i = 1; i <= n; ++i) {
		            arr[i] = arr[i - 1] ^ encode[i - 1];
		        }
		        for(int i=0;i<encode.length;i++)
		        System.out.println(i);
	}

}
